package com.qumitech.visualnovel.model.dao.editor;

import java.util.Date;

public class ReviewRecordDAO {
    private Long id;

    private Long bookId;

    private String chapterIndexList;

    private String reviewState;

    private String result;

    private String attachments;

    private Integer submitNum;

    private Integer publishedNum;

    private Boolean ifRead;

    private String applicant;

    private String reviewer;

    private Date reviewAt;

    private Date createdAt;

    private Date updatedAt;

    private String message;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getChapterIndexList() {
        return chapterIndexList;
    }

    public void setChapterIndexList(String chapterIndexList) {
        this.chapterIndexList = chapterIndexList == null ? null : chapterIndexList.trim();
    }

    public String getReviewState() {
        return reviewState;
    }

    public void setReviewState(String reviewState) {
        this.reviewState = reviewState == null ? null : reviewState.trim();
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result == null ? null : result.trim();
    }

    public String getAttachments() {
        return attachments;
    }

    public void setAttachments(String attachments) {
        this.attachments = attachments == null ? null : attachments.trim();
    }

    public Integer getSubmitNum() {
        return submitNum;
    }

    public void setSubmitNum(Integer submitNum) {
        this.submitNum = submitNum;
    }

    public Integer getPublishedNum() {
        return publishedNum;
    }

    public void setPublishedNum(Integer publishedNum) {
        this.publishedNum = publishedNum;
    }

    public Boolean getIfRead() {
        return ifRead;
    }

    public void setIfRead(Boolean ifRead) {
        this.ifRead = ifRead;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant == null ? null : applicant.trim();
    }

    public String getReviewer() {
        return reviewer;
    }

    public void setReviewer(String reviewer) {
        this.reviewer = reviewer == null ? null : reviewer.trim();
    }

    public Date getReviewAt() {
        return reviewAt;
    }

    public void setReviewAt(Date reviewAt) {
        this.reviewAt = reviewAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bookId=").append(bookId);
        sb.append(", chapterIndexList=").append(chapterIndexList);
        sb.append(", reviewState=").append(reviewState);
        sb.append(", result=").append(result);
        sb.append(", attachments=").append(attachments);
        sb.append(", submitNum=").append(submitNum);
        sb.append(", publishedNum=").append(publishedNum);
        sb.append(", ifRead=").append(ifRead);
        sb.append(", applicant=").append(applicant);
        sb.append(", reviewer=").append(reviewer);
        sb.append(", reviewAt=").append(reviewAt);
        sb.append(", createdAt=").append(createdAt);
        sb.append(", updatedAt=").append(updatedAt);
        sb.append(", message=").append(message);
        sb.append("]");
        return sb.toString();
    }
}